package com.htx.oldbookpavilion.mapper;

import com.htx.oldbookpavilion.entity.ShoppingList;
import com.htx.oldbookpavilion.entity.ShoppingListExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShoppingListMapper {
    long countByExample(ShoppingListExample example);

    int deleteByExample(ShoppingListExample example);

    int deleteByPrimaryKey(Long shoppingListId);

    int insert(ShoppingList record);

    int insertSelective(ShoppingList record);

    List<ShoppingList> selectByExample(ShoppingListExample example);

    ShoppingList selectByPrimaryKey(Long shoppingListId);

    int updateByExampleSelective(@Param("record") ShoppingList record, @Param("example") ShoppingListExample example);

    int updateByExample(@Param("record") ShoppingList record, @Param("example") ShoppingListExample example);

    int updateByPrimaryKeySelective(ShoppingList record);

    int updateByPrimaryKey(ShoppingList record);
}